import 'package:flutter/material.dart';
import 'package:get/get.dart';
import '../../../common/app_resources.dart';
import 'pie_chart1/pie_chart1_view.dart';
import 'pie_chart_logic.dart';


class PieChartPage extends StatelessWidget {
  PieChartPage({Key? key}) : super(key: key);

  final logic = Get.put(PieChartLogic());
  final state = Get.find<PieChartLogic>().state;

  @override
  Widget build(BuildContext context) {
    return Scaffold(
        backgroundColor: AppColors.colorFF282E45,
        appBar: AppBar(
          backgroundColor: Theme.of(context).colorScheme.inversePrimary,
          title: Text(state.title ?? ""),
        ),
        body: ListView(children: [PieChart1Page()]));
  }
}
